Packetery\Module\Options\OptionsProvider A

Total Complexity 74
Dependencies 4
Dependents 22
Total lines 654
Lines of code 290
Logical lines of code 131
Comment lines 244
Methods 46
Properties 3

Methods 46

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 4 17
getLabelFormats()
S
50 1 34
getCarrierLabelFormat()
S
64 3 10
getStatusSyncingPacketStatuses()
S
60 2 14
getEmailHook()
S
74 2 4
isPacketCancellationForced()
S
69 2 7
getMaxDaysOfPacketStatusSyncing()
S
68 2 7
getOptionsByName()
S
68 2 7
isFreeShippingShown()
S
69 2 7
arePricesTaxInclusive()
S
69 2 7
isPacketAutoSubmissionEnabled()
S
68 2 7
getPacketAutoSubmissionMappedUniqueEvents()
S
67 2 8
getValidAutoOrderStatusFromMapping()
S
69 2 7
getDefaultWidth()
S
71 2 6
getLabelMaxOffset()
S
69 2 7
shouldWidgetOpenAutomatically()
S
69 2 7
isOrderStatusAutoChangeEnabled()
S
69 2 7
isOrderStatusChangeAllowed()
S
68 2 7
getMaxStatusSyncingPackets()
S
68 2 7
getStatusSyncingOrderStatuses()
S
69 2 7
getDefaultHeight()
S
71 2 6
getDefaultWeight()
S
71 2 6
getCheckoutDetection()
S
69 2 7
getCheckoutWidgetButtonLocation()
S
69 2 7
getCodPaymentMethods()
S
69 2 7
getDefaultLength()
S
71 2 6
getPacketaLabelFormats()
S
74 1 4
getAllOptions()
S
70 1 7
getAutoOrderStatus()
S
80 1 3
getAutoOrderStatusFromMapping()
S
79 1 3
has_any()
S
79 1 3
get()
S
79 1 3
get_api_key()
S
80 1 3
get_api_password()
S
80 1 3
get_sender()
S
80 1 3
get_allow_label_emailing()
S
80 1 3
get_carrier_label_format()
S
79 1 3
get_packeta_label_format()
S
79 1 3
getPacketAutoSubmissionEventForPaymentGateway()
S
78 1 3
getPacketAutoSubmissionPaymentMethodEventsMapping()
S
80 1 3
getPackagingWeight()
S
80 1 3
replaceShippingAddressWithPickupPointAddress()
S
80 1 3
isDefaultWeightEnabled()
S
80 1 3
getExistingStatusSyncingOrderStatuses()
S
72 1 5
isDefaultDimensionsEnabled()
S
80 1 3
sanitizePaymentGatewayId()
S
79 1 3